<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>校园寻物 - 登录</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#4F46E5',
                        secondary: '#10B981'
                    },
                    borderRadius: {
                        'none': '0px',
                        'sm': '2px',
                        DEFAULT: '4px',
                        'md': '8px',
                        'lg': '12px',
                        'xl': '16px',
                        '2xl': '20px',
                        '3xl': '24px',
                        'full': '9999px',
                        'button': '4px'
                    }
                }
            }
        }
    </script>
    <style>
        body {
            font-family: 'Inter', sans-serif;
            min-height: 1024px;
        }
        .input-focus:focus {
            border-color: #4F46E5;
            box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
        }
        .btn-hover:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .transition-all {
            transition: all 0.3s ease;
        }
        .bg-campus {
            background-image: url('https://ai-public.mastergo.com/ai/img_res/270e7a6bf915a103626655b922b6db26.jpg');
            background-size: cover;
            background-position: center;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div class="flex min-h-screen">
        <!-- 左侧展示区 -->
        <div class="hidden md:flex flex-col justify-between w-1/2 bg-campus p-12 text-white relative overflow-hidden">
            <div class="z-10">
                <h1 class="text-4xl font-bold mb-2 font-['Pacifico']">校园寻物</h1>
                <p class="text-xl opacity-90">连接校园失物与拾主的温暖平台</p>
            </div>
            <div class="z-10">
                <p class="text-lg opacity-80 mb-6">"昨天在图书馆丢失的笔记本，今天就找回来了！"</p>
                <p class="text-lg opacity-80 mb-6">"感谢平台帮我找回校园卡，省去了补办的麻烦"</p>
                <p class="text-lg opacity-80">"捡到钥匙交到这里，希望能帮到失主"</p>
            </div>
            <div class="absolute inset-0 bg-gradient-to-r from-blue-900/30 to-purple-900/30"></div>
        </div>
        <!-- 右侧登录区 -->
        <div class="w-full md:w-1/2 flex items-center justify-center p-8">
            <div class="w-full max-w-md">
                <div class="text-center mb-10">
                    <h2 class="text-3xl font-bold text-gray-800 mb-2">欢迎登录</h2>
                    <p class="text-gray-600">请使用您的账号登录校园寻物平台</p>
                </div>

                <form class="space-y-6">
                    <div>
                        <label for="username" class="block text-sm font-medium text-gray-700 mb-1">学号 / 用户名</label>
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <i class="fas fa-user text-gray-400" style="width: 16px; height: 16px; display: flex; justify-content: center; align-items: center;"></i>
                            </div>
                            <input id="username" name="username" type="text" required 
                                class="pl-10 w-full px-4 py-3 border border-gray-300 rounded-md shadow-sm input-focus transition-all focus:outline-none" 
                                placeholder="请输入学号或用户名">
                        </div>
                    </div>
                    <div>
                        <label for="password" class="block text-sm font-medium text-gray-700 mb-1">密码</label>
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <i class="fas fa-lock text-gray-400" style="width: 16px; height: 16px; display: flex; justify-content: center; align-items: center;"></i>
                            </div>
                            <input id="password" name="password" type="password" required 
                                class="pl-10 w-full px-4 py-3 border border-gray-300 rounded-md shadow-sm input-focus transition-all focus:outline-none" 
                                placeholder="请输入密码">
                        </div>
                    </div>

                    <div class="flex items-center justify-between">
                        <div class="flex items-center">
                            <input id="remember-me" name="remember-me" type="checkbox" 
                                class="h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                            <label for="remember-me" class="ml-2 block text-sm text-gray-700">记住密码</label>
                        </div>

                        <div class="text-sm">
                            <a href="#" class="font-medium text-primary hover:text-primary/80">忘记密码?</a>
                        </div>
                    </div>

                    <div>
                        <button type="submit" 
                            class="w-full flex justify-center py-3 px-4 border border-transparent rounded-button shadow-sm text-sm font-medium text-white bg-primary hover:bg-primary/90 btn-hover transition-all whitespace-nowrap">
                            登录
                        </button>
                    </div>
                </form>

                <div class="mt-6 text-center">
                    <p class="text-sm text-gray-600">
                        还没有账号?
                        <a href="#" class="font-medium text-secondary hover:text-secondary/80 ml-1">立即注册</a>
                    </p>
                </div>

                <div class="mt-12 pt-6 border-t border-gray-200">
                    <div class="flex justify-center space-x-6">
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i class="fab fa-weixin" style="width: 20px; height: 20px; display: flex; justify-content: center; align-items: center;"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i class="fab fa-qq" style="width: 20px; height: 20px; display: flex; justify-content: center; align-items: center;"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i class="fas fa-envelope" style="width: 20px; height: 20px; display: flex; justify-content: center; align-items: center;"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-white py-6 border-t border-gray-200">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="flex items-center mb-4 md:mb-0">
                    <span class="font-['Pacifico'] text-lg mr-2">校园寻物</span>
                    <span class="text-gray-500 text-sm">© 2023 清华大学计算机系</span>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-500 hover:text-gray-700 text-sm">帮助中心</a>
                    <a href="#" class="text-gray-500 hover:text-gray-700 text-sm">联系我们</a>
                    <a href="#" class="text-gray-500 hover:text-gray-700 text-sm">隐私政策</a>
                    <a href="#" class="text-gray-500 hover:text-gray-700 text-sm">服务条款</a>
                </div>
            </div>
        </div>
    </footer>
</body>
</html>